<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>网站设置</title>
    <link rel="stylesheet" href="../CPUIAdmin/layui/css/layui.css">
    <link rel="stylesheet" href="../CPUIAdmin/style/cp_admin.css">
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body class="cpadmin_body">

    <blockquote class="layui-elem-quote ">
        <span class="layui-breadcrumb">
            <a>控制台</a>
            <a>站点管理</a>
            <a><cite>网站设置</cite></a>
        </span>
    </blockquote>

    <form class="layui-form layui-form-pane">
        


            <!-- 基本信息 start-->

            <div class="layui-form-item" style="width:500px" pane>
                <label class="layui-form-label">网站状态</label>
                <div class="layui-input-block">
                    <input type="checkbox" lay-skin="switch" name="webstatus" checked>
                </div>
            </div>

             
                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">网站名称</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtName" lay-verify="required">
                    </div>
                </div>
 
                 
                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">网站LOGO</label>
                    <div class="layui-input-block">
                        <input type="text" class="layui-input" name="txtLogo" id="txtLogo"
                            style="width:160px; display: inline-block;">
                        <img class="layui-upload-img" id="img_url_src"
                            style="border:1px #ddd solid; width:100px; height:36px;"
                            src="/CPUIAdmin/images/img_null.jpg">
                        <button type="button" class="layui-btn" id="img_url_upload">
                            <i class="layui-icon">&#xe67c;</i>上传图片
                        </button> 
                    </div>
                </div> 


                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">公司名称</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtCompany">
                    </div>
                </div>

                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">通讯地址</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtAddress">
                    </div>
                </div>

                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">联系电话</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtTel">
                    </div>
                </div>

                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">固话号码</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtFax">
                    </div>
                </div>

                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">联系邮箱</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtEmail">
                    </div>
                </div>

                <div class="layui-form-item" style="width:500px">
                    <label class="layui-form-label">客服QQ</label>
                    <div class="layui-input-block">
                        <input type="text" placeholder="请输入" class="layui-input" name="txtQQ">
                    </div>
                </div>
            <!-- 基本信息 end--> 
 
            <!-- SEO选项 start-->
             

                <div class="layui-form-item" style="width:50%">
                    <label class="layui-form-label" style="width: 150px;">首页标题(SEO)</label>
                    <div class="layui-input-block" style="margin-left: 150px;">
                        <input type="text" class="layui-input" name="txtSeoTitle">
                    </div>
                </div>

                <div class="layui-form-item" style="width:50%">
                    <label class="layui-form-label" style="width: 150px;">页面关健词(SEO)</label>
                    <div class="layui-input-block" style="margin-left: 150px;">
                        <input type="text" class="layui-input" name="txtSeoKeyword">
                    </div>
                </div> 

                <div class="layui-form-item layui-form-text" style="width:50%">
                    <label class="layui-form-label">页面描述(SEO)</label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入内容" class="layui-textarea" name="txtSeoDescription"></textarea>
                    </div>
                </div> 
            <!-- SEO选项 end-->


            <div class="layui-form-item layui-form-text" style="width:50%">
                <label class="layui-form-label">底部版权信息</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" class="layui-textarea" name="txtCopyright"></textarea>
                </div>
            </div>



            <!-- 第三方代码 -->

            <fieldset class="layui-elem-field" style="width:50%">
                <legend>第三方代码 <span class="layui-word-aux">（一般用于放置商桥代码、站长统计代码、谷歌翻译代码等）</span></legend>
                <div class="layui-field-box">
                  <!-- 内容区域 -->
                  <div class="layui-form-item layui-form-text" style="width:100%">
                        <label class="layui-form-label">顶部代码
                            <span class="layui-word-aux">代码会放在 &lt;/head&gt; 标签以上</span>
                        </label>
                        <div class="layui-input-block">
                            <textarea placeholder="请输入内容" class="layui-textarea" name="txtHead"></textarea>
                        </div>
                  </div> 

                  <div class="layui-form-item layui-form-text" style="width:100%">
                    <label class="layui-form-label">底部代码
                        <span class="layui-word-aux">代码会放在&lt;/body&gt;标签以上</span>
                    </label>
                    <div class="layui-input-block">
                        <textarea placeholder="请输入内容" class="layui-textarea" name="txtBodyBottom"></textarea>
                    </div>
                 </div> 
                <!-- /内容区域 -->
                </div>
              </fieldset> 
            <!-- /第三方代码 -->
           


       
        <div class="layui-form-item">
            <div class="layui-input-block" style="margin-left:0px; margin-top:20px;">
                <button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>






    <script src="../CPUIAdmin/layui/layui.js"></script>
    <script>
        layui.config({
            base: '../CPUIAdmin/modules/' //静态资源所在路径
        }).use('SiteSetting');
    </script>


</body>

</html>